export const ls = {
  get (key, defaultVal = null) {
    return sessionStorage.getItem(key) || defaultVal
  },

  set (key, val) {
    return sessionStorage.setItem(key, val)
  },

  remove (key) {
    return sessionStorage.removeItem(key)
  },

  clear () {
    return sessionStorage.clear()
  }
}
